﻿using System;
using System.Collections.Generic;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SydEnergiPrototype.DataAccess
{
    public class ColorCodeDB : IColorCodeDB
    {
        private List<SolidColorBrush> _colorCodes;
        public List<SolidColorBrush> GetColorCodes()
        {
            if (_colorCodes == null)
            {
                _colorCodes = new List<SolidColorBrush>();
                _colorCodes.Add(new SolidColorBrush(Colors.Blue));
                _colorCodes.Add(new SolidColorBrush(Colors.Red));
                _colorCodes.Add(new SolidColorBrush(Colors.Gray));
                _colorCodes.Add(new SolidColorBrush(Colors.Brown));
                _colorCodes.Add(new SolidColorBrush(Colors.Magenta));
                _colorCodes.Add(new SolidColorBrush(Colors.Cyan));
                _colorCodes.Add(new SolidColorBrush(Colors.Green));
                _colorCodes.Add(new SolidColorBrush(Colors.Purple));
                _colorCodes.Add(new SolidColorBrush(Colors.Orange));
            }

            return _colorCodes;
        }
    }
}
